﻿@{
    ViewBag.Title = "Index";
}

<div class="actionbar">
    @if (Cando("PositionManage.Add"))
    {
        @Html.DialogButton(Url.Action("Create"),"添加新职位","add","{intent:'create'}")
    }
    @if (Cando("PositionManage.Remove"))
    {
        @Html.CalljsButton("删除职位", "delete", "{method:hyt_link_multichkPostback,url:'" + Url.Action("Delete") + "'}") 
    }
</div>
@Html.Action("Query")
@Html.Action("List")
